package com.dongdong.tbbrandService.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.dongdong.mapper.UserMapper;
import com.dongdong.pojo.User;
import com.dongdong.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;

@Service
@org.springframework.stereotype.Service
public class UserServiceImpl implements UserService {
   @Autowired
   private UserMapper userMapper;
    @Override
    public User getInfoLogin(String username) {
        User user =   userMapper.getInfoLogin(username);
        return user;
    }
}
